package com.pengshun.modules.api.user.repository;

import com.pengshun.modules.domain.Citizen;
import com.pengshun.modules.domain.UserBank;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UserBankRepository extends JpaRepository<UserBank, Long>, JpaSpecificationExecutor<UserBank> {
    List<UserBank> findByStatusAndUserId(int status,Long userId);
    UserBank findByBankCardNoAndUserId(String cardNo,Long userId);
}
